<?php

namespace App\Console;

use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;

class Kernel extends ConsoleKernel
{
    /**
     * Laravel 自定义工匠命令在这里注册
     * @var array
     */
    protected $commands = [
        Commands\Inspire::class,
        Commands\IQCmd::class,
        Commands\IQBonus::class,
        Commands\IQBackup::class
    ];

    /**
     * 定义应用程序的命令调度。(定时执行 只在Linux下生效)
     *
     * @param  \Illuminate\Console\Scheduling\Schedule $schedule
     * @return void
     */
    protected function schedule(Schedule $schedule)
    {
        //$schedule->command('inspire')->hourly();
    }
}
